package com.innovation.chengzhangriji.ui.widget;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

import com.innovation.chengzhangriji.R;

public class DiscoverMilestoneViewHolder extends DiscoverViewHolder {

    private TextView textMilestone;

    public DiscoverMilestoneViewHolder(View itemView) {
        super(itemView);
        View view = LayoutInflater.from(itemView.getContext()).inflate(R.layout.item_discover_milestone, getContent());
        textMilestone = (TextView) view.findViewById(R.id.text_milestone);
    }

    public void setMilestone(String text) {
        textMilestone.setText(text);
    }
}
